//
//  OrderModel.h
//  sensen_ios
//
//  Created by pro on 16/3/23.
//  Copyright © 2016年 pro. All rights reserved.
//

#import "BaseModel.h"

/*
 订单model
 */
@interface PayOrderModel : BaseModel

// 这5个属性，对应于AliPayModel中的订单属性的5个
@property (nonatomic, copy) NSString *code;         // 订单号
@property (nonatomic, copy) NSString *name;         // 订单名称
@property (nonatomic, copy) NSString *desc;         // 订单描述
@property (nonatomic, copy) NSString *show_url;
@property (nonatomic, copy) NSString *total_price;  // 总价

@property (nonatomic, copy) NSString *key;          // 校验码


- (BOOL)isLegal;

/*
 code = T1458702804U21P24;
 desc = "\U8ba2\U5355T1458702804U21P24";
 key = 94629dfce66e7111fc23c6c3647d8d99;
 name = "\U8ba2\U5355T1458702804U21P24";
 "show_url" = "http://sunsun.itboye.com";
 "total_price" = "41.8";
 */
@end
